package com.erp.programmer.domain;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 陈鑫
 * @since 2021-05-23
 */
public class Permission implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 权限ID
     */
    private String id;

    /**
     * 权限名称
     */
    private String name;

    /**
     * 角色ID
     */
    private String roleId;

    /**
     * 权限描述
     */
    private String description;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public String toString() {
        return "Permission{" +
        "id=" + id +
        ", name=" + name +
        ", roleId=" + roleId +
        ", description=" + description +
        "}";
    }
}
